.class Les/qy$h;
.super Ljava/lang/Object;
.source "BottomMenuItemProvider.java"

# interfaces
.implements Landroid/view/MenuItem$OnMenuItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/qy;->d()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/qy;


# direct methods
.method constructor <init>(Les/qy;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/qy$h;->a:Les/qy;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onMenuItemClick(Landroid/view/MenuItem;)Z
    .locals 5

    .line 1
    iget-object p1, p0, Les/qy$h;->a:Les/qy;

    invoke-static {p1}, Les/qy;->d(Les/qy;)[Ljava/lang/String;

    move-result-object v0

    invoke-static {p1, v0}, Les/qy;->a(Les/qy;[Ljava/lang/String;)V

    .line 2
    invoke-static {}, Lcom/estrongs/android/ui/pcs/f;->k()Lcom/estrongs/android/ui/pcs/f;

    move-result-object p1

    const/4 v0, 0x0

    .line 3
    invoke-virtual {p1, v0}, Lcom/estrongs/android/ui/pcs/f;->a(I)V

    const/4 v1, 0x0

    .line 4
    invoke-virtual {p1, v1}, Lcom/estrongs/android/ui/pcs/f;->a(Ljava/lang/String;)V

    .line 5
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v2

    .line 6
    invoke-virtual {v2, v1, v1}, Lcom/estrongs/android/pop/l;->g(Ljava/lang/String;Ljava/lang/String;)V

    .line 7
    iget-object v3, p0, Les/qy$h;->a:Les/qy;

    invoke-static {v3}, Les/qy;->a(Les/qy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v3

    instance-of v3, v3, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-eqz v3, :cond_1

    .line 8
    iget-object v3, p0, Les/qy$h;->a:Les/qy;

    invoke-static {v3}, Les/qy;->a(Les/qy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v3

    invoke-virtual {v3}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object v3

    if-eqz v3, :cond_1

    .line 9
    iget-object v4, p0, Les/qy$h;->a:Les/qy;

    invoke-virtual {p1}, Lcom/estrongs/android/ui/pcs/f;->c()Ljava/lang/String;

    move-result-object p1

    invoke-static {v4, p1}, Les/qy;->a(Les/qy;Ljava/lang/String;)V

    .line 10
    invoke-virtual {v3}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->B2(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_0

    const-string p1, "Web"

    .line 11
    invoke-virtual {v2, p1}, Lcom/estrongs/android/pop/l;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 12
    invoke-virtual {v3, p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->c(Ljava/lang/String;)V

    goto :goto_0

    :cond_0
    const-string p1, "pcs://"

    .line 13
    invoke-virtual {v3, p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->c(Ljava/lang/String;)V

    .line 14
    :goto_0
    invoke-virtual {v3}, Lcom/estrongs/android/view/FileGridViewWrapper;->T()V

    .line 15
    :cond_1
    invoke-static {}, Les/p10;->e()Les/p10;

    move-result-object p1

    invoke-static {}, Lcom/estrongs/android/util/h0;->s()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p1, v2, v1}, Les/p10;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 16
    invoke-static {}, Lcom/estrongs/android/ui/pcs/f;->k()Lcom/estrongs/android/ui/pcs/f;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/ui/pcs/f;->d()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/util/o0;->b(Ljava/lang/CharSequence;)Z

    move-result p1

    if-eqz p1, :cond_2

    .line 17
    invoke-static {}, Les/p10;->e()Les/p10;

    move-result-object p1

    invoke-static {}, Lcom/estrongs/android/ui/pcs/f;->k()Lcom/estrongs/android/ui/pcs/f;

    move-result-object v2

    invoke-virtual {v2}, Lcom/estrongs/android/ui/pcs/f;->c()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p1, v2, v1}, Les/p10;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 18
    :cond_2
    invoke-static {}, Lcom/estrongs/fs/impl/pcs/b;->o()Lcom/estrongs/fs/impl/pcs/b;

    move-result-object p1

    sget-object v1, Lcom/estrongs/fs/l;->R:Lcom/estrongs/fs/l;

    invoke-virtual {p1, v1}, Lcom/estrongs/fs/a;->a(Lcom/estrongs/fs/l;)V

    return v0
.end method
